package com.yml.mall.order.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
@Data
@ApiModel("Order 表")
public class OrderDO {
    @ApiModelProperty("Order ID")
    private Integer id;
    @ApiModelProperty("用户ID")
    private Integer userId;
    @ApiModelProperty("订单号")
    private Long orderNo;
    @ApiModelProperty("地址ID")
    private Integer shippingId;
    @ApiModelProperty("支付金额")
    private BigDecimal payment;
    @ApiModelProperty("支付方式")
    private Integer paymentType;
    @ApiModelProperty("运费")
    private Integer postage;
    @ApiModelProperty("支付状态")
    private Integer status;
    @ApiModelProperty("支付时间")
    private Date paymentTime;
    @ApiModelProperty("发货时间")
    private Date sendTime;
    @ApiModelProperty("交易完成时间")
    private Date endTime;
    @ApiModelProperty("交易关闭时间")
    private Date closeTime;
    @ApiModelProperty("订单创建时间")
    private Date createTime;
    @ApiModelProperty("更新时间")
    private Date updateTime;
}